package org.argeproje.resim.ui.component.basic;

import org.argeproje.resim.proc.ReScalePR;
import org.argeproje.resim.ui.model.ComponentItem;


public class RescaleCI extends ComponentItem {

	private static final long serialVersionUID = 1;

	
	public RescaleCI()
	{		
		super();
		_name = "Rescale";
		_description = "Linear scaling of pixel values " +
				"between 0-255";
        initProc();
	}
	

	
	
	protected void initDescriptorList()
	{
		super.initDescriptorList();
	}

	@Override
	public Class<RescaleCI> getComponentClass() {
		// TODO Auto-generated method stub
		return RescaleCI.class;
	}

	@Override
	public void initProc() {
		if(_processor == null)
		{
			_processor = new ReScalePR();			
		}
	}
	public void updateProc() {
		if(_processor == null)
		{
			_processor = new ReScalePR();			
		}
	}
}
